package com.dykj.fireFighting.api.socialUnit.devicemanger.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


/**
 * @Description 分区设备中间表
 * @Author JacksonTu
 * @Date  2021-07-15 11:25:03
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "分区设备中间表")
@TableName("partitions_device")
public class PartitionsDevice extends Model<PartitionsDevice> {
	private static final long serialVersionUID = 1L;

	@TableId
	private String id;
	/**
	 * 设备id
	 */
    @ApiModelProperty(value = "设备id")
	@TableField("device_id")
	private String deviceId;
	/**
	 * 分区id
	 */
    @ApiModelProperty(value = "分区id")
	@TableField("partition_id")
	private String partitionId;
	/**
	 * 类型 0智能设备  1传统设备 2救援设备
	 */
    @ApiModelProperty(value = "类型 0智能设备  1传统设备 2救援设备 3监控设备")
	private Integer type;
	/**
	 * 设备x坐标
	 */
    @ApiModelProperty(value = "设备x坐标")
	private String x;
	/**
	 * 设备y坐标
	 */
    @ApiModelProperty(value = "设备y坐标")
	private String y;
    @ApiModelProperty(value = "设备名称")
    @TableField("device_name")
    private String deviceName;
    @ApiModelProperty(value = "图标地址")
    private String icon;

}
